import { createStore } from "vuex";

const store=createStore({
  state:{
    count:0,
    name:'你好啊，vuex'
  },
  mutations:{
    increment:(state)=>{
      state.count++
      console.log("我是store的方法")
    }
  },
  actions:{

  }
})
export default store